<div class="inner-content">
	
	<div class="breadcrumb">
		{foreach from="`$breadcrumb`" item="crumb"}<a href="#{$crumb.id}">{$crumb.title|escape:"html":"UTF-8"}</a>{/foreach}
		<span style="float: right">ID: {$page.id}</span>
		{$page.revision.title|escape:"html":"UTF-8"}
	</div>
	
	<p>
		<label for="path">Path</label>
		<input type="text" name="page[revision][path]" value="{$page.revision.path|escape:"html":"UTF-8"}" id="path" {if $page.parent_id==0}disabled="disabled" class="disabled"{/if} />
	</p>
	
	<p>
		<label for="meta_description">Meta Description</label>
		<textarea name="page[revision][meta_description]" id="meta_description">{$page.revision.meta_description|escape:"html":"UTF-8"}</textarea>
	</p>
	
	<p>
		<label for="meta_keywords">Meta Keywords</label>
		<input type="text" name="page[revision][meta_keywords]" value="{$page.revision.meta_keywords|escape:"html":"UTF-8"}" id="meta_keywords" />
	</p>
	
	
	<div class="field-group">
		
		<p>
			<label for="sitemap">Include in <a href="/sitemap.xml" target="_blank">Sitemap.xml</a></label>
			<select name="page[revision][sitemap]" id="sitemap">
				<option value="1" {if $page.revision.sitemap!='0'}selected="selected"{/if}>Yes</option>
				<option value="0" {if $page.revision.sitemap=='0'}selected="selected"{/if}>No</option>
			</select>
		</p>
		
		<p>
			<label for="sitemap_priority">Priority</label>
			<select name="page[revision][sitemap_priority]" id="sitemap_priority">
				<option value="1.0" {if $page.revision.sitemap_priority=='1.0'}selected="selected"{/if}>1.0</option>
				<option value="0.9" {if $page.revision.sitemap_priority=='0.9'}selected="selected"{/if}>0.9</option>
				<option value="0.8" {if $page.revision.sitemap_priority=='0.8'}selected="selected"{/if}>0.8</option>
				<option value="0.7" {if $page.revision.sitemap_priority=='0.7'}selected="selected"{/if}>0.7</option>
				<option value="0.6" {if $page.revision.sitemap_priority=='0.6'}selected="selected"{/if}>0.6</option>
				<option value="0.5" {if $page.revision.sitemap_priority=='0.5'}selected="selected"{/if}>0.5</option>
				<option value="0.4" {if $page.revision.sitemap_priority=='0.4'}selected="selected"{/if}>0.4</option>
				<option value="0.3" {if $page.revision.sitemap_priority=='0.3'}selected="selected"{/if}>0.3</option>
				<option value="0.2" {if $page.revision.sitemap_priority=='0.2'}selected="selected"{/if}>0.2</option>
				<option value="0.1" {if $page.revision.sitemap_priority=='0.1'}selected="selected"{/if}>0.1</option>
				<option value="0.0" {if $page.revision.sitemap_priority=='0.0'}selected="selected"{/if}>0.0</option>
			</select>
		</p>
		
		<p>
			<label for="sitemap_changefreq">Change Frequency</label>
			<select name="page[revision][sitemap_changefreq]" id="sitemap_changefreq">
				<option></option>
				<option value="always" {if $page.revision.sitemap_changefreq=='always'}selected="selected"{/if}>Always</option>
				<option value="hourly" {if $page.revision.sitemap_changefreq=='hourly'}selected="selected"{/if}>Hourly</option>
				<option value="daily" {if $page.revision.sitemap_changefreq=='daily'}selected="selected"{/if}>Daily</option>
				<option value="weekly" {if $page.revision.sitemap_changefreq=='weekly'}selected="selected"{/if}>Weekly</option>
				<option value="monthly" {if $page.revision.sitemap_changefreq=='monthly'}selected="selected"{/if}>Monthly</option>
				<option value="yearly" {if $page.revision.sitemap_changefreq=='yearly'}selected="selected"{/if}>Yearly</option>
				<option value="never" {if $page.revision.sitemap_changefreq=='never'}selected="selected"{/if}>Never</option>
			</select>
		</p>
		
		<br class="clear" />
		
	</div>
	
	<p>
		<label for="redirects">Permanently redirect from (one per line)</label>
		<textarea name="page[revision][redirects]" id="path">{$page.revision.redirects|escape:"html":"UTF-8"}</textarea>
	</p>
	
	<p>
		<label>Robots rules</label>
		<label class="checkbox" for="page_revision_robots_noindex"><input type="checkbox" name="page[revision][robots][]" value="noindex" id="page_revision_robots_noindex" {if in_array('noindex', $page.revision.robots)}checked="checked"{/if} /> noindex - don't index this page</label>
		<label class="checkbox" for="page_revision_robots_nofollow"><input type="checkbox" name="page[revision][robots][]" value="nofollow" id="page_revision_robots_nofollow" {if in_array('nofollow', $page.revision.robots)}checked="checked"{/if} /> nofollow - don't follow links</label>
	</p>
	
</div>
